package com.example.chat.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.chat.beans.RoleRel;
import org.apache.ibatis.annotations.Param;

public interface RoleRelMapper extends BaseMapper<RoleRel> {
    void deleteByAdminId(@Param("adminId") Integer adminId);

    RoleRel selectByAdminIdAndPermission(@Param("adminId") Integer adminId);

    RoleRel selectByAdminId(@Param("adminId") Integer adminId);
}
